/* 全局字体设置 */
$base-fonts-fm:
  Source Han Sans,
  Source Han Sans,
  BlinkMacSystemFont,
  'Segoe UI',
  Roboto,
  Oxygen-Sans,
  Ubuntu,
  Cantarell,
  'Helvetica Neue',
  Helvetica,
  Arial,
  Microsoft YaHei,
  sans-serif;
@mixin default-font-setup($settings...) {
  $merged-fonts: join($settings, $base-fonts-fm);
  font-family: $merged-fonts;
  // ios字体
  font-family: -apple-system, $merged-fonts;
}

@mixin TtBtnModulePrimary() {
  font-size: 0.14rem;
  transition: all 0.3s;
  background: linear-gradient(14deg, #2d22cf 0%, #66b3f4 100%);
  box-shadow: 0 0.1rem 0.25rem 0 #eef2fd;
  font-weight: bold;
  border: none;
  padding: 0.06rem 0.21rem;
  @include BgHover();
}
@mixin TtBtnModulePlain($bc: #3b43d9, $fc: #291acc) {
  font-size: 0.14rem;
  border: 1px solid $bc;
  font-weight: bold;
  color: $fc;
  background-color: #fff;
  padding: 0.06rem 0.21rem;
  &:hover {
    border: 1px solid lighten($bc, 10%);
    color: lighten($bc, 10%);
  }
  &:active {
    border: 1px solid darken($bc, 10%);
    color: darken($bc, 10%);
  }
}

@mixin BgHover() {
  &:hover {
    opacity: 0.8;
  }
  &:active {
    opacity: 1;
  }
}
